package com.xcjh.base.dto;

import com.xcjh.base.BaseUserEntity;
import com.xcjh.utils.RedisUtils;
import lombok.Data;

import java.util.UUID;

@Data
public class LoginUser<U extends BaseUserEntity> {
    private String token;
    private U user;//user实体类

    public LoginUser() {

    }

    public LoginUser(String token, U user) {
        this.token =token;
        this.user = user;
    }

}
